def identity[T](var x: T): T {
    return x;
}

def main() {
    var result1 = identity[Int](42);
    
    var arr = [1, 2, 3, 4, 5];
    var result2 = arr[0];
    
    var result3 = identity[String]("Hello");
    
    print(result1);
    print(result2);
    print(result3);
} 

main();
